package com.ourteam.system.api;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ourteam.frame.controller.AbstractTreeBuilderController;


@CrossOrigin
@Controller
@RequestMapping("/api/SYSTEM/sysDepartmentTree")
public class SystemDepartmentTreeBuilderAPI extends AbstractTreeBuilderController<SystemDepartmentTreeBuilder> {

	@Override
	protected SystemDepartmentTreeBuilder getTreeBuilder(HttpServletRequest request) {
		return new SystemDepartmentTreeBuilder();
	}

	@Override
	protected Object getInitParameter(HttpServletRequest request) {
		return null;
	}

}
